/*
 * FileDescriptorSet.hpp
 *
 *  Created on: 03.12.2012
 *      Author: zheka
 */

#ifndef FILEDESCRIPTORSET_HPP_
#define FILEDESCRIPTORSET_HPP_
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
class FileDescriptorSet {
private:
	fd_set fdSet;
public:
	void set(int fileDescriptor);
	bool isSet(int fileDescriptor);
	void clear(int fileDescriptor);
	void clearAll();
	fd_set * getFileDescriptorSet();
};
#endif /* FILEDESCRIPTORSET_HPP_ */
